<?php


namespace App\Domain;

use App\Model\Cart as CartModel;

class Cart
{
    public function getCartInfoByUid($user_id)
    {
        $model = new CartModel();
        return $model->getCartInfoByUid($user_id);
    }

    public function delCartById($userId)
    {
        $model = new CartModel();
        return $model->delCartById($userId);

    }

    public function insertCartByUid($user_id)
    {
        $model = new CartModel();
        return $model->insertCartByUid($user_id);

    }
}